package com.erdos.hyt.mall.service;

import com.erdos.hyt.mall.model.MallOrderDetail;
import com.erdos.hyt.mall.model.vo.MallOrderDetailVo;

/**
 * @auth Liurong
 * @date 2017/4/1.
 */
public interface MallOrderDetailService  {

    /**
     * 生成订单的展示信息（待提交状态）
     * @param userId
     * @param skuId
     * @param num
     * @return
     */
    public MallOrderDetail generateBaseOrder(Integer userId,Integer skuId,Integer num);

    /**
     * 提交订单
     * @param addressId
     * @param mallOrderDetailVo
     * @return
     */
    public  MallOrderDetail updSubmitOrder(Integer addressId,MallOrderDetailVo mallOrderDetailVo);
}
